.class Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;
.super Ljava/lang/Object;
.source "ViewImage21.java"

# interfaces
.implements Lcom/estrongs/android/pop/app/imageviewer/d$b;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(ILcom/estrongs/android/pop/app/imageviewer/ImageContainer;Ljava/lang/Runnable;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:I

.field final synthetic b:Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;

.field final synthetic c:Ljava/lang/Runnable;

.field final synthetic d:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;ILcom/estrongs/android/pop/app/imageviewer/ImageContainer;Ljava/lang/Runnable;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->d:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iput p2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->a:I

    iput-object p3, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->b:Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;

    iput-object p4, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->c:Ljava/lang/Runnable;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Les/cm;Landroid/graphics/Bitmap;)V
    .locals 3

    if-nez p2, :cond_0

    const/4 v0, 0x0

    goto :goto_0

    .line 1
    :cond_0
    new-instance v0, Lcom/estrongs/android/pop/app/imageviewer/h;

    invoke-interface {p1}, Les/cm;->a()I

    move-result v1

    invoke-direct {v0, p2, v1}, Lcom/estrongs/android/pop/app/imageviewer/h;-><init>(Landroid/graphics/Bitmap;I)V

    .line 2
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->d:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->w(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Lcom/estrongs/android/pop/app/imageviewer/a;

    move-result-object v1

    new-instance v2, Ljava/lang/ref/SoftReference;

    invoke-direct {v2, v0}, Ljava/lang/ref/SoftReference;-><init>(Ljava/lang/Object;)V

    invoke-virtual {v1, p1, v2}, Lcom/estrongs/android/pop/app/imageviewer/a;->a(Les/cm;Ljava/lang/ref/SoftReference;)V

    .line 3
    :goto_0
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->d:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-boolean v2, v1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->f:Z

    if-nez v2, :cond_2

    iget-object v1, v1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    iget v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->a:I

    invoke-interface {v1, v2}, Les/dm;->b(I)Les/cm;

    move-result-object v1

    invoke-virtual {p1, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->b:Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;

    if-nez v1, :cond_1

    goto :goto_1

    .line 4
    :cond_1
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->d:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-object v1, v1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->h:Lcom/estrongs/android/pop/app/imageviewer/b;

    new-instance v2, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0$a;

    invoke-direct {v2, p0, p1, p2, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0$a;-><init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;Les/cm;Landroid/graphics/Bitmap;Lcom/estrongs/android/pop/app/imageviewer/h;)V

    invoke-virtual {v1, v2}, Lcom/estrongs/android/pop/app/imageviewer/b;->a(Ljava/lang/Runnable;)V

    :cond_2
    :goto_1
    return-void
.end method
